package com.wyw.design.model.learning.behavioral.command;

/**
 * @Title
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/4/17 16:21
 * Update History:
 * Author        Time            Content
 */
public class OpenTvCommand implements Command {
    private TV tv;
    public OpenTvCommand(TV tv) {
        this.tv = tv;
    }
    public void execute() {
        tv.open();
    }
}
